package com.gupaoedu.vip;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE) //注解修饰的是类或者接口
@Retention(RetentionPolicy.RUNTIME) //注解保留到运行时状态
@Component
public @interface RpcService {
  Class<?> value();
}
